
<!--COLUMN 1-->
<div class="ThreeColGrid_c1">
<div id="output" class="myAvatar">
<?php 
            if($pharmacy['Pharmacy']['Avatar'])
            {
                echo '<img src="'. Router::url('/').'app/webroot/img/avatar/'.$pharmacy['Pharmacy']['Avatar'].'" width="100" alt="Locum">';
            }else
            {
                echo '<img src="'.Router::url('/').'app/webroot/img/avatar.jpg" width="100" alt="Locum">';
            }
?>
</div>
<a href="javascript:void(0)" id='UploadImage' class="TitleFive">edit image</a> 

<div class="hide" id="upload-block">
<?php echo $form->create('Pharmacy', array('action'=>'upload_avatar','id'=>'FileUploader','type'=>'post','enctype' => 'multipart/form-data'));?>
<?php echo $form->input('mFile',array('label'=>'','div'=>'','type'=>'file','size'=>2)); ?>
<button type="submit" class="red-button" id="uploadButton">Upload</button>
<?php echo $form->end()?>
</div>

</div>
<!--COLUMN 1-->

<!--COLUMN 2-->
<div class="ThreeColGrid_c2">
<h4 class="TitleFive">My Stores<a href="<?php echo Router::url('/').'stores/add'?>">Add a store</a></h4>
<p>&nbsp;</p>

<ul>  
<?php if(!empty($a_Stores)){
      foreach($a_Stores as $a_Store)
{?>
<li>
<h4 class="TitleSeven"><?php echo $a_Store['Store']['Username']?><a href="<?php echo Router::url('/').'stores/edit/'.$a_Store['Store']['Id']?>" rel="<?php echo $a_Store['Store']['Id']?>">Edit store</a></h4>
</li>

<?php }
}else{?>
<li>You currently have no stores assigned, <a href="<?php echo Router::url('/').'stores/add'?>">click here to add a store</a></li>
<?php }?>
</ul>
</div>
<!--COLUMN 2-->

<!--COLUMN 3-->
<div class="ThreeColGrid_c3">
<h6 class="TitleFive">Locum Search</h6>
<?php echo $this->element('search_for_pharmacy');?>
<br>
<?php echo $this->element('invite_pharmacy');?>
</div>
<!--COLUMN 3-->


